﻿using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace Deferred.Library.Scene
{
    /// <summary>
    /// 
    /// </summary>
    public class AmbientLight
    {
        /// <summary>
        /// 
        /// </summary>
        [ContentSerializer(Optional = true)]
        public Color Color { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [ContentSerializer(Optional = true)]
        public float Intensity { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public AmbientLight()
            : this(new Color(), 1) { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="color"></param>
        /// <param name="intensity"></param>
        public AmbientLight(Color color, float intensity)
        {
            this.Color = color;
            this.Intensity = intensity;
        }
    }
}
